package com.limanyik.family.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 系统-字典表
 *
 * @author limanyi
 * @since 2022-01-21
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Data
@Accessors(chain = true)
@TableName("basis_dict_group")
@ApiModel(value="BasisDictGroup对象", description="系统-字典表")
public class BasisDictGroup {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "字典名称")
    @TableField("TITLE")
    private String title;

    @ApiModelProperty(value = "字典值")
    @TableField("CODE")
    private String code;

    @ApiModelProperty(value = "分组层级")
    @TableField("LEVEL")
    private Integer level;

    @ApiModelProperty(value = "排序")
    @TableField("SEQ")
    private Integer seq;

    @ApiModelProperty(value = "父级ID")
    @TableField("PID")
    private String pid;

    @ApiModelProperty(value = "资源图标")
    @TableField("ICON")
    private String icon;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "业务编码")
    @TableField("business_CODE")
    private String businessCode;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人ID")
    @TableField("CREATOR_ID")
    private String creatorId;

    @ApiModelProperty(value = "创建人，发起人")
    @TableField("CREATOR_NAME")
    private String creatorName;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人ID")
    @TableField("UPDATER_ID")
    private String updaterId;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER_NAME")
    private String updaterName;

    @ApiModelProperty(value = "是否删除")
    @TableField("DELETE_STATUS")
    private Integer deleteStatus;


    public static final String ID = "ID";

    public static final String TITLE = "TITLE";

    public static final String CODE = "CODE";

    public static final String LEVEL = "LEVEL";

    public static final String SEQ = "SEQ";

    public static final String PID = "PID";

    public static final String ICON = "ICON";

    public static final String REMARK = "REMARK";

    public static final String BUSINESS_CODE = "business_CODE";

    public static final String VERSION = "VERSION";

    public static final String CREATE_TIME = "CREATE_TIME";

    public static final String CREATOR_ID = "CREATOR_ID";

    public static final String CREATOR_NAME = "CREATOR_NAME";

    public static final String UPDATE_TIME = "UPDATE_TIME";

    public static final String UPDATER_ID = "UPDATER_ID";

    public static final String UPDATER_NAME = "UPDATER_NAME";

    public static final String DELETE_STATUS = "DELETE_STATUS";

}
